This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Richard Chufootherings 25.Feb.11 08:02 PM a Web browser Applications developmentAll ReleasesAll Platforms
I am trying to send message programatically to an user from java using ST SDK.
My class implements ResolveListener and LoginListener.
I think I am doing everything right but the Resolver won't fire any events after called. Here is a part of my code:
public void loggedIn(LoginEvent arg0) {
System.out.println("Logged in ");
ls=(LookupService)m_session.getCompApi(LookupService.COMP_NAME);
resolver.createResolver(false,true,true,false);
resolver.addResolveListener(this);
resolver.resolve("Test2 Test2");
}
public void resolved(ResolveEvent arg0) {
System.out.println("Resolve Success");
}
I can clearly see that the login is successfull but after that no events are generated by the resolver and
resloved,resolveFailed not resolveConflict get called.
Using STclient I can see that both 'Test User' and 'Test2 Test2' are logged in and available.
Searching the forum I found out that other members had the exactly same problem ,but I could not find out if they solved it and how.
I tried the code with different versions of STComm.jar (8.5.1,8.0.1,7.5.1), two different enviroments SDP 6.0 and SDP 7.5 and two OS XP and W2K. All behaved the same
The rest of my code works ok, e.g If I receive IM I am able to respond to it.
The Resolver problem causes me that I can't start conversation.